kbuild: Make the toolchain variables easily overwritable
authorBastian Blank <waldi@debian.org>
Sun, 22 Feb 2009 14:39:35 +0000 (15:39 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 2 May 2017 15:21:44 +0000 (15:21 +0000)
commitef4ad705766c5e1fc2d3c3716172ba263c8bb8f0
tree85adc82fc2ab8935ebdaabc257f370ec5d99b135
parentb1d6c7fe04d07313a6f79acb5f94be93b02b0760
kbuild: Make the toolchain variables easily overwritable

Allow make variables to be overridden for each flavour by a file in
the build tree, .kernelvariables.

We currently use this for ARCH, KERNELRELEASE, CC, and in some cases
also CROSS_COMPILE, CFLAGS_KERNEL and CFLAGS_MODULE.

This file can only be read after we establish the build tree, and all
use of $(ARCH) needs to be moved after this.

Gbp-Pq: Topic debian
Gbp-Pq: Name kernelvariables.patch
Makefile